import { defineStore } from "pinia";

export const useConfig = defineStore("localConfig", {
  state: (): {
    userTabbar: boolean; // 个人信息侧边栏
    screenWidth: number; // 屏幕宽度
  } => ({
    userTabbar: true,
    screenWidth: window.screen.width,
  }),
  persist: true,
});
